.class public Lcom/burstly/jackson/map/deser/std/JsonNodeDeserializer;
.super Lcom/burstly/jackson/map/deser/std/BaseNodeDeserializer;
.source "JsonNodeDeserializer.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/burstly/jackson/map/deser/std/JsonNodeDeserializer$ArrayDeserializer;,
        Lcom/burstly/jackson/map/deser/std/JsonNodeDeserializer$ObjectDeserializer;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/burstly/jackson/map/deser/std/BaseNodeDeserializer",
        "<",
        "Lcom/burstly/jackson/JsonNode;",
        ">;"
    }
.end annotation


# static fields
.field private static synthetic $SWITCH_TABLE$com$burstly$jackson$JsonToken:[I

.field private static final instance:Lcom/burstly/jackson/map/deser/std/JsonNodeDeserializer;


# direct methods
.method static synthetic $SWITCH_TABLE$com$burstly$jackson$JsonToken()[I
    .locals 3

    .prologue
    .line 15
    sget-object v0, Lcom/burstly/jackson/map/deser/std/JsonNodeDeserializer;->$SWITCH_TABLE$com$burstly$jackson$JsonToken:[I

    if-eqz v0, :cond_0

    :goto_0
    return-object v0

    :cond_0
    invoke-static {}, Lcom/burstly/jackson/JsonToken;->values()[Lcom/burstly/jackson/JsonToken;

    move-result-object v0

    array-length v0, v0

    new-array v0, v0, [I

    :try_start_0
    sget-object v1, Lcom/burstly/jackson/JsonToken;->END_ARRAY:Lcom/burstly/jackson/JsonToken;

    invoke-virtual {v1}, Lcom/burstly/jackson/JsonToken;->ordinal()I

    move-result v1

    const/4 v2, 0x5

    aput v2, v0, v1
    :try_end_0
    .catch Ljava/lang/NoSuchFieldError; {:try_start_0 .. :try_end_0} :catch_c

    :goto_1
    :try_start_1
    sget-object v1, Lcom/burstly/jackson/JsonToken;->END_OBJECT:Lcom/burstly/jackson/JsonToken;

    invoke-virtual {v1}, Lcom/burstly/jackson/JsonToken;->ordinal()I

    move-result v1

    const/4 v2, 0x3

    aput v2, v0, v1
    :try_end_1
    .catch Ljava/lang/NoSuchFieldError; {:try_start_1 .. :try_end_1} :catch_b

    :goto_2
    :try_start_2
    sget-object v1, Lcom/burstly/jackson/JsonToken;->FIELD_NAME:Lcom/burstly/jackson/JsonToken;

    invoke-virtual {v1}, Lcom/burstly/jackson/JsonToken;->ordinal()I

    move-result v1

    const/4 v2, 0x6

    aput v2, v0, v1
    :try_end_2
    .catch Ljava/lang/NoSuchFieldError; {:try_start_2 .. :try_end_2} :catch_a

    :goto_3
    :try_start_3
    sget-object v1, Lcom/burstly/jackson/JsonToken;->NOT_AVAILABLE:Lcom/burstly/jackson/JsonToken;

    invoke-virtual {v1}, Lcom/burstly/jackson/JsonToken;->ordinal()I

    move-result v1

    const/4 v2, 0x1

    aput v2, v0, v1
    :try_end_3
    .catch Ljava/lang/NoSuchFieldError; {:try_start_3 .. :try_end_3} :catch_9

    :goto_4
    :try_start_4
    sget-object v1, Lcom/burstly/jackson/JsonToken;->START_ARRAY:Lcom/burstly/jackson/JsonToken;

    invoke-virtual {v1}, Lcom/burstly/jackson/JsonToken;->ordinal()I

    move-result v1

    const/4 v2, 0x4

    aput v2, v0, v1
    :try_end_4
    .catch Ljava/lang/NoSuchFieldError; {:try_start_4 .. :try_end_4} :catch_8

    :goto_5
    :try_start_5
    sget-object v1, Lcom/burstly/jackson/JsonToken;->START_OBJECT:Lcom/burstly/jackson/JsonToken;

    invoke-virtual {v1}, Lcom/burstly/jackson/JsonToken;->ordinal()I

    move-result v1

    const/4 v2, 0x2

    aput v2, v0, v1
    :try_end_5
    .catch Ljava/lang/NoSuchFieldError; {:try_start_5 .. :try_end_5} :catch_7

    :goto_6
    :try_start_6
    sget-object v1, Lcom/burstly/jackson/JsonToken;->VALUE_EMBEDDED_OBJECT:Lcom/burstly/jackson/JsonToken;

    invoke-virtual {v1}, Lcom/burstly/jackson/JsonToken;->ordinal()I

    move-result v1

    const/4 v2, 0x7

    aput v2, v0, v1
    :try_end_6
    .catch Ljava/lang/NoSuchFieldError; {:try_start_6 .. :try_end_6} :catch_6

    :goto_7
    :try_start_7
    sget-object v1, Lcom/burstly/jackson/JsonToken;->VALUE_FALSE:Lcom/burstly/jackson/JsonToken;

    invoke-virtual {v1}, Lcom/burstly/jackson/JsonToken;->ordinal()I

    move-result v1

    const/16 v2, 0xc

    aput v2, v0, v1
    :try_end_7
    .catch Ljava/lang/NoSuchFieldError; {:try_start_7 .. :try_end_7} :catch_5

    :goto_8
    :try_start_8
    sget-object v1, Lcom/burstly/jackson/JsonToken;->VALUE_NULL:Lcom/burstly/jackson/JsonToken;

    invoke-virtual {v1}, Lcom/burstly/jackson/JsonToken;->ordinal()I

    move-result v1

    const/16 v2, 0xd

    aput v2, v0, v1
    :try_end_8
    .catch Ljava/lang/NoSuchFieldError; {:try_start_8 .. :try_end_8} :catch_4

    :goto_9
    :try_start_9
    sget-object v1, Lcom/burstly/jackson/JsonToken;->VALUE_NUMBER_FLOAT:Lcom/burstly/jackson/JsonToken;

    invoke-virtual {v1}, Lcom/burstly/jackson/JsonToken;->ordinal()I

    move-result v1

    const/16 v2, 0xa

    aput v2, v0, v1
    :try_end_9
    .catch Ljava/lang/NoSuchFieldError; {:try_start_9 .. :try_end_9} :catch_3

    :goto_a
    :try_start_a
    sget-object v1, Lcom/burstly/jackson/JsonToken;->VALUE_NUMBER_INT:Lcom/burstly/jackson/JsonToken;

    invoke-virtual {v1}, Lcom/burstly/jackson/JsonToken;->ordinal()I

    move-result v1

    const/16 v2, 0x9

    aput v2, v0, v1
    :try_end_a
    .catch Ljava/lang/NoSuchFieldError; {:try_start_a .. :try_end_a} :catch_2

    :goto_b
    :try_start_b
    sget-object v1, Lcom/burstly/jackson/JsonToken;->VALUE_STRING:Lcom/burstly/jackson/JsonToken;

    invoke-virtual {v1}, Lcom/burstly/jackson/JsonToken;->ordinal()I

    move-result v1

    const/16 v2, 0x8

    aput v2, v0, v1
    :try_end_b
    .catch Ljava/lang/NoSuchFieldError; {:try_start_b .. :try_end_b} :catch_1

    :goto_c
    :try_start_c
    sget-object v1, Lcom/burstly/jackson/JsonToken;->VALUE_TRUE:Lcom/burstly/jackson/JsonToken;

    invoke-virtual {v1}, Lcom/burstly/jackson/JsonToken;->ordinal()I

    move-result v1

    const/16 v2, 0xb

    aput v2, v0, v1
    :try_end_c
    .catch Ljava/lang/NoSuchFieldError; {:try_start_c .. :try_end_c} :catch_0

    :goto_d
    sput-object v0, Lcom/burstly/jackson/map/deser/std/JsonNodeDeserializer;->$SWITCH_TABLE$com$burstly$jackson$JsonToken:[I

    goto/16 :goto_0

    :catch_0
    move-exception v1

    goto :goto_d

    :catch_1
    move-exception v1

    goto :goto_c

    :catch_2
    move-exception v1

    goto :goto_b

    :catch_3
    move-exception v1

    goto :goto_a

    :catch_4
    move-exception v1

    goto :goto_9

    :catch_5
    move-exception v1

    goto :goto_8

    :catch_6
    move-exception v1

    goto :goto_7

    :catch_7
    move-exception v1

    goto :goto_6

    :catch_8
    move-exception v1

    goto :goto_5

    :catch_9
    move-exception v1

    goto :goto_4

    :catch_a
    move-exception v1

    goto :goto_3

    :catch_b
    move-exception v1

    goto/16 :goto_2

    :catch_c
    move-exception v1

    goto/16 :goto_1
.end method

.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 22
    new-instance v0, Lcom/burstly/jackson/map/deser/std/JsonNodeDeserializer;

    invoke-direct {v0}, Lcom/burstly/jackson/map/deser/std/JsonNodeDeserializer;-><init>()V

    sput-object v0, Lcom/burstly/jackson/map/deser/std/JsonNodeDeserializer;->instance:Lcom/burstly/jackson/map/deser/std/JsonNodeDeserializer;

    .line 15
    return-void
.end method

.method protected constructor <init>()V
    .locals 1

    .prologue
    .line 24
    const-class v0, Lcom/burstly/jackson/JsonNode;

    invoke-direct {p0, v0}, Lcom/burstly/jackson/map/deser/std/BaseNodeDeserializer;-><init>(Ljava/lang/Class;)V

    return-void
.end method

.method public static getDeserializer(Ljava/lang/Class;)Lcom/burstly/jackson/map/JsonDeserializer;
    .locals 1
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Class",
            "<*>;)",
            "Lcom/burstly/jackson/map/JsonDeserializer",
            "<+",
            "Lcom/burstly/jackson/JsonNode;",
            ">;"
        }
    .end annotation

    .prologue
    .line 31
    .local p0, nodeClass:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    const-class v0, Lcom/burstly/jackson/node/ObjectNode;

    if-ne p0, v0, :cond_0

    .line 32
    invoke-static {}, Lcom/burstly/jackson/map/deser/std/JsonNodeDeserializer$ObjectDeserializer;->getInstance()Lcom/burstly/jackson/map/deser/std/JsonNodeDeserializer$ObjectDeserializer;

    move-result-object v0

    .line 38
    :goto_0
    return-object v0

    .line 34
    :cond_0
    const-class v0, Lcom/burstly/jackson/node/ArrayNode;

    if-ne p0, v0, :cond_1

    .line 35
    invoke-static {}, Lcom/burstly/jackson/map/deser/std/JsonNodeDeserializer$ArrayDeserializer;->getInstance()Lcom/burstly/jackson/map/deser/std/JsonNodeDeserializer$ArrayDeserializer;

    move-result-object v0

    goto :goto_0

    .line 38
    :cond_1
    sget-object v0, Lcom/burstly/jackson/map/deser/std/JsonNodeDeserializer;->instance:Lcom/burstly/jackson/map/deser/std/JsonNodeDeserializer;

    goto :goto_0
.end method


# virtual methods
.method public deserialize(Lcom/burstly/jackson/JsonParser;Lcom/burstly/jackson/map/DeserializationContext;)Lcom/burstly/jackson/JsonNode;
    .locals 2
    .parameter "jp"
    .parameter "ctxt"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;,
            Lcom/burstly/jackson/JsonProcessingException;
        }
    .end annotation

    .prologue
    .line 56
    invoke-static {}, Lcom/burstly/jackson/map/deser/std/JsonNodeDeserializer;->$SWITCH_TABLE$com$burstly$jackson$JsonToken()[I

    move-result-object v0

    invoke-virtual {p1}, Lcom/burstly/jackson/JsonParser;->getCurrentToken()Lcom/burstly/jackson/JsonToken;

    move-result-object v1

    invoke-virtual {v1}, Lcom/burstly/jackson/JsonToken;->ordinal()I

    move-result v1

    aget v0, v0, v1

    packed-switch v0, :pswitch_data_0

    .line 62
    :pswitch_0
    invoke-virtual {p2}, Lcom/burstly/jackson/map/DeserializationContext;->getNodeFactory()Lcom/burstly/jackson/node/JsonNodeFactory;

    move-result-object v0

    invoke-virtual {p0, p1, p2, v0}, Lcom/burstly/jackson/map/deser/std/JsonNodeDeserializer;->deserializeAny(Lcom/burstly/jackson/JsonParser;Lcom/burstly/jackson/map/DeserializationContext;Lcom/burstly/jackson/node/JsonNodeFactory;)Lcom/burstly/jackson/JsonNode;

    move-result-object v0

    :goto_0
    return-object v0

    .line 58
    :pswitch_1
    invoke-virtual {p2}, Lcom/burstly/jackson/map/DeserializationContext;->getNodeFactory()Lcom/burstly/jackson/node/JsonNodeFactory;

    move-result-object v0

    invoke-virtual {p0, p1, p2, v0}, Lcom/burstly/jackson/map/deser/std/JsonNodeDeserializer;->deserializeObject(Lcom/burstly/jackson/JsonParser;Lcom/burstly/jackson/map/DeserializationContext;Lcom/burstly/jackson/node/JsonNodeFactory;)Lcom/burstly/jackson/node/ObjectNode;

    move-result-object v0

    goto :goto_0

    .line 60
    :pswitch_2
    invoke-virtual {p2}, Lcom/burstly/jackson/map/DeserializationContext;->getNodeFactory()Lcom/burstly/jackson/node/JsonNodeFactory;

    move-result-object v0

    invoke-virtual {p0, p1, p2, v0}, Lcom/burstly/jackson/map/deser/std/JsonNodeDeserializer;->deserializeArray(Lcom/burstly/jackson/JsonParser;Lcom/burstly/jackson/map/DeserializationContext;Lcom/burstly/jackson/node/JsonNodeFactory;)Lcom/burstly/jackson/node/ArrayNode;

    move-result-object v0

    goto :goto_0

    .line 56
    :pswitch_data_0
    .packed-switch 0x2
        :pswitch_1
        :pswitch_0
        :pswitch_2
    .end packed-switch
.end method

.method public bridge synthetic deserialize(Lcom/burstly/jackson/JsonParser;Lcom/burstly/jackson/map/DeserializationContext;)Ljava/lang/Object;
    .locals 1
    .parameter
    .parameter
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;,
            Lcom/burstly/jackson/JsonProcessingException;
        }
    .end annotation

    .prologue
    .line 1
    invoke-virtual {p0, p1, p2}, Lcom/burstly/jackson/map/deser/std/JsonNodeDeserializer;->deserialize(Lcom/burstly/jackson/JsonParser;Lcom/burstly/jackson/map/DeserializationContext;)Lcom/burstly/jackson/JsonNode;

    move-result-object v0

    return-object v0
.end method

.method public bridge synthetic deserializeWithType(Lcom/burstly/jackson/JsonParser;Lcom/burstly/jackson/map/DeserializationContext;Lcom/burstly/jackson/map/TypeDeserializer;)Ljava/lang/Object;
    .locals 1
    .parameter
    .parameter
    .parameter
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;,
            Lcom/burstly/jackson/JsonProcessingException;
        }
    .end annotation

    .prologue
    .line 1
    invoke-super {p0, p1, p2, p3}, Lcom/burstly/jackson/map/deser/std/BaseNodeDeserializer;->deserializeWithType(Lcom/burstly/jackson/JsonParser;Lcom/burstly/jackson/map/DeserializationContext;Lcom/burstly/jackson/map/TypeDeserializer;)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method
